package io.github.talelin.latticy.dto.K;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class JcDwxxbDTO {

    @NotBlank  //必传
    @Length(max = 10)
    @TableField("DWBHZDY")
    private String dwbhzdy;

    @NotBlank  //必传
    @Length(max = 30)
    @TableField("DWMC")
    private String dwmc;

    @TableField("DWDH")
    @Length(max = 15)
    private String dwdh;

    @TableField("DWBZ")
    @Length(max = 100)
    private String dwbz;

    @TableField("DWYXF")
    private Integer dwyxf;

    private Integer isRoot;

    private Integer parentId;
}
